package com.TJGD.projectModule.dao.projectModule;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.TJGD.projectModule.pojo.pRisk;
import com.TJGD.projectModule.pojo.pRiskQuery;

public interface pRiskDao {
    int countByExample(pRiskQuery example);

    int deleteByExample(pRiskQuery example);

    int deleteByPrimaryKey(Long prid);

    int insert(pRisk record);

    int insertSelective(pRisk record);

    List<pRisk> selectByExample(pRiskQuery example);

    pRisk selectByPrimaryKey(Long prid);

    int updateByExampleSelective(@Param("record") pRisk record, @Param("example") pRiskQuery example);

    int updateByExample(@Param("record") pRisk record, @Param("example") pRiskQuery example);

    int updateByPrimaryKeySelective(pRisk record);

    int updateByPrimaryKey(pRisk record);
}